// AI聊天会话类型
export interface AIChatSession {
  id: number
  title: string
  lastMessage?: string
  lastMessageTime?: string
  status: 'ACTIVE' | 'CLOSED'
  testResult?: {
    testName: string
    level: string
    totalScore: number
    analysis: string
    suggestions: string
  }
}

// AI聊天消息类型
export interface AIChatMessage {
  id: number
  sessionId: number
  role: 'user' | 'assistant'
  content: string
  createTime: string
  emotionScore?: number
  riskLevel?: 'LOW_RISK' | 'MEDIUM_RISK' | 'HIGH_RISK'
} 

export interface ApiResponse<T = any> {
  code: number
  message: string
  data: T
} 